const CURRENT_STATE = {
  UN_PROCESS: 0,
  PROCESSING: 1,
  PROCESS_COMPLETE: 2,
  valueToName: function (value) {
    if (value === undefined || value < CURRENT_STATE.UN_PROCESS || value > CURRENT_STATE.PROCESS_COMPLETE) {
      return '未知';
    }
    const names = ['未处理', '处理中', '已处理'];
    return names[value];
  }
};
export default CURRENT_STATE;
